﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using Golem.Indexer.Data;
using System.ComponentModel.DataAnnotations;
using WebSearch.Helpers;

namespace WebSearch.Models
{
    public class SearchModel
    {
        [DisplayName("Co hledáte?"), Required]
        public String FulltextQuery { get; set; }

        [DisplayName("Výsledky obsahující:")]
        public QueryBuilder.Mode QueryMode { get; set; }

        public String[] QueryTypes { get; set; }

        public SearchResult Results { get; set; }
        public String ResultView { get; set; }

        public SearchModel()
        {
            
        }
    }
}